﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="InserirEpoca.aspx.cs" Inherits="CursoUNICEUB.InserirEpoca" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h1>Nova época</h1>

<table style="width:100%;">
        <tr>
            <td colspan="2">
                Eu como um
                <asp:TextBox ID="txtUsuario" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtUsuario" ErrorMessage="Usuário." ForeColor="Red" 
                    ValidationGroup="cadastrar">*</asp:RequiredFieldValidator>
                , gostaria de
                <asp:TextBox ID="txtMeta" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtMeta" ErrorMessage="Meta." ForeColor="Red" 
                    ValidationGroup="cadastrar">*</asp:RequiredFieldValidator>
                , para poder
                <asp:TextBox ID="txtMotivo" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtMotivo" ErrorMessage="Motivo." ForeColor="Red" 
                    ValidationGroup="cadastrar">*</asp:RequiredFieldValidator>
                .</td>
        </tr>
        <tr>
            <td class="style1" valign="top">
                <asp:Label ID="Label1" runat="server" Text="Descrição : "></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="txtDescricao" runat="server" Height="133px" MaxLength="500" 
                    TextMode="MultiLine" Width="310px"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtDescricao" ErrorMessage="Descrição." ForeColor="Red" 
                    ValidationGroup="cadastrar">*</asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" 
                    HeaderText="Favor verificar os seguintes campos :" ShowMessageBox="True" 
                    ShowSummary="False" ValidationGroup="cadastrar" />
            </td>
            <td>
                <asp:Button ID="btnCadastrar" runat="server" onclick="btnCadastrar_Click" 
                    Text="Cadastrar" ValidationGroup="cadastrar" />
            </td>
        </tr>
    </table>
</asp:Content>
